﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using ManagementClinic.Business.Admin;
using ManagementClinic.Data.Models;
using MahApps.Metro.Controls.Dialogs;
using ManagementClinic.App.ViewModel;
using ManagementClinic.App.View;
using MahApps.Metro.Controls;

namespace ManagementClinic.App
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : MetroWindow
    {
       
        public MainWindow()
        {
            InitializeComponent();
           // this.DataContext = UserListViewModel.Instance();
           // AccountBusiness ac = new AccountBusiness();
          //  ac.Add(new Account() { AccountName ="SinhPD"});

           

        }
        

        public  async void Show1()
        {
            var mySettings = new MetroDialogSettings()
            {
                AffirmativeButtonText = "Quit",
                NegativeButtonText = "Cancel",
                AnimateShow = true,
                AnimateHide = false
            };

            var result = await this.ShowMessageAsync("Quit application?",
                "Sure you want to quit application?",
                MessageDialogStyle.AffirmativeAndNegative, mySettings);
        }
    }
}
